package com.kws.payment.dao;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * <b>UnionPayRefundRq</b>
 *
 * @description: UnionPayRefundRq <br>
 * @date: 2024/12/26 10:43 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class UnionPayRefundRq {
    @ApiModelProperty(value = "订单号",required = true)
    private String orderNo;

    @ApiModelProperty(value = "退款金额",required = true)
    private Integer refundAmount;

    @ApiModelProperty(value = "支付订单号")
    private String targetOrderId;

    @ApiModelProperty(value = "退款订单号",required = true)
    private String refundOrderId;

    @ApiModelProperty(value = "子订单信息 在传分账标记的情况下，若传子商户号，子商户分账金额必传，即ubOrders每个元素的mid和totalAmount非空且mid不超过20",required = true)
    private List<SubOrdersRq> subOrders;

    @ApiModelProperty(value = "退款说明(退款时使用)")
    private String refundDesc;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Integer refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getTargetOrderId() {
        return targetOrderId;
    }

    public void setTargetOrderId(String targetOrderId) {
        this.targetOrderId = targetOrderId;
    }

    public String getRefundOrderId() {
        return refundOrderId;
    }

    public void setRefundOrderId(String refundOrderId) {
        this.refundOrderId = refundOrderId;
    }

    public List<SubOrdersRq> getSubOrders() {
        return subOrders;
    }

    public void setSubOrders(List<SubOrdersRq> subOrders) {
        this.subOrders = subOrders;
    }

    public String getRefundDesc() {
        return refundDesc;
    }

    public void setRefundDesc(String refundDesc) {
        this.refundDesc = refundDesc;
    }
}
